package com.atstudent.gmall.product;

import com.atstudent.gmall.common.anno.EnableMinioClient;
import com.atstudent.gmall.common.anno.EnableSwagger2Configuration;
import com.atstudent.gmall.common.anno.EnableThreadPool;
import com.atstudent.gmall.common.cache.anno.EnableRedissonClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @Dexcription
 * @Author 薛有朋
 * @Date 2024/11/14 14:43
 **/
@SpringBootApplication
@MapperScan(basePackages = "com.atstudent.gmall.product.mapper")
@EnableMinioClient
@EnableSwagger2Configuration
@EnableRedissonClient
@EnableScheduling//开启定时任务的注解
@EnableThreadPool
@EnableFeignClients(basePackages = {
        "com.atstudent.gmall.common.feign.search"
})
public class ProductApplicaiton {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplicaiton.class,args);
    }
}
